package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicLineIne;
import cn.stylefeng.guns.modular.basic.model.params.BasicLineIneParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicLineIneResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 收入报价 服务类
 * </p>
 *
 * @author wzh
 * @since 2024-01-15
 */
public interface BasicLineIneService extends IService<BasicLineIne> {

    /**
     * 新增
     *
     * @author wzh
     * @Date 2024-01-15
     */
    void add(BasicLineIneParam param);

    /**
     * 删除
     *
     * @author wzh
     * @Date 2024-01-15
     */
    void delete(BasicLineIneParam param);

    /**
     * 更新
     *
     * @author wzh
     * @Date 2024-01-15
     */
    void update(BasicLineIneParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wzh
     * @Date 2024-01-15
     */
    BasicLineIneResult findBySpec(BasicLineIneParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wzh
     * @Date 2024-01-15
     */
    List<BasicLineIneResult> findListBySpec(BasicLineIneParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wzh
     * @Date 2024-01-15
     */
     LayuiPageInfo findPageBySpec(BasicLineIneParam param,String condition);

}
